package cn.iocoder.yudao.module.system.controller.admin.deptarea.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 部门区域关系新增/修改 Request VO")
@Data
public class DeptAreaSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "22078")
    private Long id;

    @Schema(description = "部门id", requiredMode = Schema.RequiredMode.REQUIRED, example = "20150")
    @NotNull(message = "部门id不能为空")
    private Long deptId;

    @Schema(description = "区域")
    private String areas;

}